Skip to content

test: unit test multiple node versions in separate jobs - #23714

Merged
dgp1130 merged 1 commit into
angular:mainfrom
jbedard:unit-node16
Sep 14, 2022
Merged

test: unit test multiple node versions in separate jobs#23714
dgp1130 merged 1 commit into
angular:mainfrom
jbedard:unit-node16

Conversation

@jbedard

@jbedard jbedard commented Aug 9, 2022

Copy link
Copy Markdown
Contributor

This re-enables the multiple node versions/toolchains but runs them as separate circleci jobs to not overload the executors. Also disabling the node16 version of the one test that seems to crash with node16.

@jbedard
jbedard force-pushed the unit-node16 branch 3 times, most recently from 6c72d08 to 4f29f08 Compare August 10, 2022 00:14
@jbedard
jbedard requested a review from alan-agius4 August 10, 2022 00:22
@jbedard
jbedard marked this pull request as ready for review August 10, 2022 02:51
equal: [*default_nodeversion_major, << parameters.nodeversion >>]
steps:
- run:
command: yarn bazel test --test_tag_filters=-node16,-node<< parameters.nodeversion >>-broken //packages/...

@jbedard jbedard Aug 10, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ugly condition (and opposite below) is so this one catches all node14 and non-versioned, while the other is all specifically for node16. Could add more in the future by adding to the array at the top of the file and add the -node## to this line.

@jbedard
jbedard requested a review from clydin August 17, 2022 18:54
@jbedard
jbedard force-pushed the unit-node16 branch 2 times, most recently from 481e5e9 to faa6c2f Compare August 29, 2022 17:46

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Sep 14, 2022
@dgp1130
dgp1130 merged commit 4de9045 into angular:main Sep 14, 2022
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Oct 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants